<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title id="t1">v-text 文本</title>
</head>
<body>
	
	<div id="app1" class="capp1">

		<h2 v-text="msg">-hello</h2>
		{{ msg }}-hello<br>
		<h2 v-text="name">-hello</h2>
		{{ name }}-hello
		{{ name + '--' }}-hello
	</div>

	<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
	<script>
		var data = {
				msg:"Hi There!",
				name:"Sa_Zhang",
				scores:[9,5,7,3,6,1]
			}
		// new Vue({}) 大小写敏感
		var app = new Vue({
			el:"#app1",
			data:data
		})
	</script>

</body>
</html>